package main.java.com.extract.supers;

/**
 * @description: 员工
 * @author: cong zhi
 * @createDate: 2022/6/14 7:55
 * @updateUser: cong zhi
 * @updateDate: 2022/6/14 7:55
 * @updateRemark: 修改内容
 * @version: v1.0
 */
public class Employee extends Party {

    private String id;

    private int annualCost;

    public Employee(String id, String name, int annualCost) {
        super(name);
        this.id = id;
        this.annualCost = annualCost;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public int getAnnualCost() {
        return annualCost;
    }

    public void setAnnualCost(int annualCost) {
        this.annualCost = annualCost;
    }
}
